package ee.maoinvest.backend.model.data.views;

import java.util.List;

import ee.maoinvest.GeneralConstants;
import ee.maoinvest.backend.model.data.ElectricityMeter;
import ee.maoinvest.backend.model.data.Substation;
import ee.maoinvest.backend.model.data.TransformerCoefficentStandard;

public class SubstationMainElectricityMeter extends ElectricityMeter
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -861479735482948444L;
	
	private Substation substation;
	private TransformerCoefficentStandard transformerCoefficentStandard;
	private List<ElectricityMeter> listOfRelatedChildElectricityMeters;
	
	public SubstationMainElectricityMeter()
	{
		setElectricityMeterTypeFK(GeneralConstants.SUBSTATION_MAIN_ELECTRICITY_METER_ID_IN_DATABASE);
	}
	
	public Substation getSubstation() 
	{
		return substation;
	}
	
	public void setSubstation(Substation substation)
	{
		this.substation = substation;
	}
	
	public TransformerCoefficentStandard getTransformerCoefficentStandard() 
	{
		return transformerCoefficentStandard;
	}
	
	public void setTransformerCoefficentStandard(
			TransformerCoefficentStandard transformerCoefficentStandard)
	{
		this.transformerCoefficentStandard = transformerCoefficentStandard;
	}

	public List<ElectricityMeter> getListOfRelatedChildElectricityMeters() {
		return listOfRelatedChildElectricityMeters;
	}

	public void setListOfRelatedChildElectricityMeters(
			List<ElectricityMeter> listOfRelatedChildElectricityMeters) {
		this.listOfRelatedChildElectricityMeters = listOfRelatedChildElectricityMeters;
	}
}
